// import utils from '../../utils/utils'
// const app = getApp()
Page({
  onLoad() {
    // wx.utils.toast('我是ikun')
    this.getList()

  },
  async getList() {
    const { data, code } = await wx.http.get('/announcement')
    if (code != 10000) return wx.utils.toast()
    this.setData({
      notifyList: data
    })
  }
})
